using System;
using System.Runtime.InteropServices;

namespace Fireball.ArchLinux.Pacman
{
    /// <summary>
    /// 
    /// </summary>
	public class InterfaceApi
	{
		/// <summary>
		/// 
		/// </summary>
        /// <returns>0 on success, -1 on error (pm_errno is set accordingly)</returns>
		[DllImport("libalpm")]
		public extern static int alpm_initialize();

        /// <summary>
        /// 
        /// </summary>
        /// <returns>0 on success, -1 on error (pm_errno is set accordingly)</returns>	
		[DllImport("libalpm")]
		public extern static int alpm_release();		
	}
}
